import Link from "next/link";
import "./blog.css";

export default function BlogLayout({ children }) {
  return (
    <section className='blog'>
      <aside className='blog-aside'>
        <p>
          <Link href='/blog/1'>博客1</Link>
        </p>
        <p>
          <Link href='/blog/2'>博客2</Link>
        </p>
        <p>
          <Link href='/blog/3'>博客3</Link>
        </p>
      </aside>
      <main className='blog-main'>{children}</main>
    </section>
  );
}
